@layout("/common/_container.html",{js:["/assets/tool/toolOrderPut/toolOrderPut_edit.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
		border-color: #89d19d;
	}
	.layui-form-pane .layui-form-label {
		background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
	<span class="layui-body-header-title">Edit</span>
</div>

<div class="layui-fluid " style="">
	<div class="layui-card">
		<div class="layui-card-body">
			<form id="orderPutForm" lay-filter="orderPutForm" class="layui-form layui-form-pane" style="max-width: 1300px;margin: 10px auto;">
				<input name="id" type="hidden"/>
				<fieldset class="layui-elem-field layui-field-title" style="margin-top: 1px;">
					<legend>Edit Inbound Information</legend>
				</fieldset>
				<div class="layui-form-item">
					<table>
						<tr>
							<td>
								<label class="layui-form-label" style="font-weight: 600;">Customer Name<span style="color: red;">*</span></label>
							</td>
							<td colspan="3">
								<select id="putCustomerId" name="putCustomerId" lay-filter="dataSourceId" lay-verify="required" required>
									@for(item in customerlist!){
									<option value="${item.id}">${item.customerName}</option>
									@}
								</select>
							</td>
							<td>
								<label class="layui-form-label" style="font-weight: 600;">Customer Order No.<span style="color: red;">*</span></label>
							</td>
							<td>
								<input id="putCustomerNumber" name="putCustomerNumber" placeholder="Please enter Customer Order No." type="text" class="layui-input" lay-verify="required" required/>
							</td>
							<td>
								<label class="layui-form-label">Estimated Time</label>
							</td>
							<td colspan="3">
								<input id="estimatetime" name="estimatetime" placeholder="Please enter Estimated Inbound Time" type="text" class="layui-input" lay-verify="" readonly="readonly" style="background: #E7EAED"/>
							</td>
						</tr>
						<tr>
							<td>
								<label class="layui-form-label" style="font-weight: 600;">Warehouse Name<span style="color: red;">*</span></label>
							</td>
							<td>
								<select id="warehouseId" name="warehouseId" lay-filter="dataSourceId" lay-verify="required" required>
									@for(item in wlist!){
									<option value="${item.id}">${item.warehouseName}</option>
									@}
								</select>
							</td>
							<td>
								<label class="layui-form-label">Inbound Type</label>
							</td>
							<td>
								<select id="putType" name="putType" lay-filter="dataSourceId" lay-verify="" required>
									@for(item in dictList!){
									<option value="${item.name}">${item.name}</option>
									@}
								</select>
							</td>
							<td>
								<label class="layui-form-label" style="font-weight: 600;">Inbound Mode<span style="color: red;">*</span></label>
							</td>
							<td>
								<select id="putMode" name="putMode" lay-filter="putMode" lay-verify="required" required>
									@for(item in dictListm!){
									<option value="${item.name}">${item.name}</option>
									@}
								</select>
							</td>
							<td>
								<label class="layui-form-label">Settlement Method</label>
							</td>
							<td>
								<select id="settlement" name="settlement" lay-filter="dataSourceId" lay-verify="" required>
									<option value=""></option>
									@for(item in dictLists!){
									<option value="${item.name}">${item.name}</option>
									@}
								</select>
							</td>
							<td>
								<label class="layui-form-label">Customer Delivery Note No.</label>
							</td>
							<td>
								<input id="shipmentnumber" name="shipmentnumber" placeholder="Customer Delivery Note No." type="text" class="layui-input" lay-verify="" required/>
							</td>
						</tr>
						<tr>
							<td>
								<label class="layui-form-label">Truck No./Container No.</label>
							</td>
							<td>
								<input id="carnumber" name="carnumber" placeholder="Please enter Truck No./Container No." type="text" class="layui-input" lay-verify="" required/>
							</td>
							<td>
								<label class="layui-form-label">Origin Location</label>
							</td>
							<td>
								<input id="origin" name="origin" placeholder="Please enter Origin Location" type="text" class="layui-input" lay-verify="" required/>
							</td>
							<td>
								<label class="layui-form-label">Source Unit</label>
							</td>
							<td colspan="5">
								<input id="sourceunit" name="sourceunit" placeholder="Please enter Source Unit" type="text" class="layui-input" lay-verify="" required/>
							</td>
						</tr>
						<tr>
							<td>
								<label class="layui-form-label">Remarks</label>
							</td>
							<td colspan="9">
								<input id="notes" name="notes" placeholder="Please enter Remarks" type="text" class="layui-input" lay-verify="" required/>
							</td>
						</tr>
					</table>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;Submit&emsp;</button>
						<button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;Return&emsp;</button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>

@}